4709d8417c1d9be5f94db29e3604b63ae03c64e7,source/net/yacy/gui/Tray.java,Tray,setReady,#,156
Before Change
if (OS.isMacArchitecture) setDockIcon(trayIcon);
ti.setToolTip(readyMessage());
this.menuItemHeadline.setLabel(readyMessage());
this.menuItemSearch.setEnabled(true);
this.menuItemAdministration.setEnabled(true);
this.menuItemTerminate.setEnabled(true);
}
After Change
*/
public void setReady() {
appIsReady = true;
if (ti != null) {
ti.setImage(this.trayIcon);
ti.setToolTip(readyMessage());
}
setDockIcon(trayIcon);
if (this.menuItemHeadline != null) this.menuItemHeadline.setLabel(readyMessage());
if (this.menuItemSearch != null) this.menuItemSearch.setEnabled(true);
if (this.menuItemAdministration != null) this.menuItemAdministration.setEnabled(true);
if (this.menuItemTerminate != null) this.menuItemTerminate.setEnabled(true);
}
public void remove() {